package com.nt.train.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 模拟数据字典真实开发
 * @author hlf
 * @version 1.0
 * @date 2022/8/17 13:38
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Dict implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 父级ID
     */
    private Long parentId;

    /**
     * 字典名称
     */
    private String name;

    /**
     * 类型
     */
    private Integer type;

    /**
     * 字典码
     */
    private String code;

    /**
     * 字典值
     */
    private String value;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 排序值
     */
    private Integer sort;

    /**
     * 备注
     */
    private String remark;
}
